import request from '@/utils/request'

export function getDataCenterList() {
  return request({
    url: '/datacenter/list',
    method: 'get'
  })
}

export function getDataCenter(id) {
  return request({
    url: `/api/datacenter/${id}`,
    method: 'get'
  })
} 